<?php
require_once REPOMATH_ROOT . '/util/DBUtil.class.php';

class Topic {
	var $db;

	public function Topic() {
		$this->db = new DBUtil();
	}

	public function getTopicByCo_id($co_id) {
		$rows = $this->db->ExQueryGetArray("select * from tbl_Topic where To_course_id = $co_id");
		return $rows;
	}
}
?>